home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD018b.dsk
/
READ MULT. OF FLASH CARDS.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
897b
|
36 lines
4 TEXT : SPEED= 255
5 ONERR GOTO 100
6 F$ = "FLASH CARDS"
8 R = 0:I = 0:J = 0:P = 0
10 D$ = CHR$(4): PRINT D$"NOMON C,I,O": HOME
15 GOSUB 200
16 PRINT
40 PRINT D$"READ"F$
50 INPUT R,I,J,P
60 PRINT D$
70 PRINT "#"R" "I" X "J" = "P
75 PRINT
80 GOTO 40
90 END
95 :
100 PRINT D$"CLOSE"F$
101 SPEED= 255: PRINT D$
102 PRINT :: PRINT
104 IF PEEK(222) = 6 THEN FLASH : VTAB 12: HTAB 6: PRINT "NO FILE FOUND!": NORMAL
105 VTAB 22: INVERSE : PRINT " DO YOU WISH TO READ ANY MORE SCORES? "
107 NORMAL : VTAB 22: HTAB 39: GET A$
110 IF A$ = "Y" THEN GOTO 4
120 HOME : IF A$ = "N" THEN 140
130 GOTO 105
140 END
150 :
200 VTAB 2: PRINT " READS MULTIPLICATION FLASH CARDS"
205 VTAB 4
208 INVERSE
209 HTAB 2
210 PRINT " PLEASE TYPE YOUR NAME! ";: NORMAL : INPUT " ";NA$
220 IF NA$ = "" THEN GOTO 200
230 F$ = F$ +" * " +NA$
246 PRINT
248 SPEED= 200
250 RETURN